package com.dsr.dao;

import com.dsr.entity.Models;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * (Models)表数据库访问层
 *
 * @author dsr
 * @since 2020-09-26
 */
public interface ModelsDao extends Mapper<Models> {
    void deleteEntity(String id);
    List<Models> getAuthChildern( @Param("roleId") String roleId);
    List<Models> getAuthParent( @Param("roleId") String roleId);
}